﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infrastructure;
using Header.View;
using Microsoft.Practices.Prism.Events;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Prism.Regions;

namespace Header
{
    public class HeaderModule : ModuleBase
    {
        public HeaderModule(IEventAggregator eventAggregator, IUnityContainer container, IRegionManager regionManager)
            : base(eventAggregator, container, regionManager)
        {

        }
        protected override void RegisterViewsAndServices()
        {
            RegionManager.Regions["HeaderRegion"].Add(Container.Resolve<HeaderView>());
        }
    }
}
